def wrapper(fn):
    def inner(a, b):
        print('正在计算。。。')
        fn(a, b)
    return inner

@wrapper
def sum(num1, num2):
    print(num1 + num2)


sum(1, 9)